﻿// ==========================================================
// File: TeamWorkNet.Portable.Link.cs
// Created: 14.02.2015
// Created By: Tim cadenbach
// 
// Copyright (C) 2015 Tim Cadenbach
// License: Apache License 2.0
// ==========================================================

using Newtonsoft.Json;

namespace TeamWorkNet.Model
{
  public class Link
  {
    [JsonProperty("id")]
    public string Id { get; set; }

    [JsonProperty("project-id")]
    public int ProjectId { get; set; }

    [JsonProperty("name")]
    public string Name { get; set; }

    [JsonProperty("description")]
    public string Description { get; set; }

    [JsonProperty("created-by-userfirstname")]
    public string CreatedByUserfirstname { get; set; }

    [JsonProperty("height")]
    public string Height { get; set; }

    [JsonProperty("private")]
    public string Private { get; set; }

    [JsonProperty("width")]
    public string Width { get; set; }

    [JsonProperty("created-by-userId")]
    public string CreatedByUserId { get; set; }

    [JsonProperty("created-by-userlastname")]
    public string CreatedByUserlastname { get; set; }

    [JsonProperty("category-id")]
    public string CategoryId { get; set; }

    [JsonProperty("project-name")]
    public string ProjectName { get; set; }

    [JsonProperty("open-in-new-window")]
    public bool OpenInNewWindow { get; set; }

    [JsonProperty("provider")]
    public string Provider { get; set; }

    [JsonProperty("created-date")]
    public string CreatedDate { get; set; }

    [JsonProperty("category-name")]
    public string CategoryName { get; set; }

    [JsonProperty("code")]
    public string Code { get; set; }
  }
}